package com.gwclh.personnel.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 员工信息中心，有更详细的信息

 * </p>
 *
 * @author gzhhh
 * @since 2020-07-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_emp_info")
@ApiModel(value="EmpInfo对象", description="员工信息中心，有更详细的信息 ")
public class EmpInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "员工id")
    private Integer empId;

    @ApiModelProperty(value = "职业生涯起始时间")
    private Date startDate;

    @ApiModelProperty(value = "职业生涯截止时间")
    private Date endDate;

    @ApiModelProperty(value = "所在单位名称")
    private String company;

    @ApiModelProperty(value = "从事工作内容")
    private String jobContent;

    @ApiModelProperty(value = "担任职务")
    private String position;

    @ApiModelProperty(value = "年薪/月薪")
    private String salary;

    @ApiModelProperty(value = "证明人")
    private String prove;

    @ApiModelProperty(value = "证明人职务")
    private String proPosition;

    @ApiModelProperty(value = "证明人电话")
    private String proPhone;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "外国语种")
    private String language;

    @ApiModelProperty(value = "熟练程度")
    private Integer degree;

    @ApiModelProperty(value = "1 父亲2母亲3配偶,默认1")
    private Integer memRelation;

    @ApiModelProperty(value = "亲属姓名")
    private String memName;

    @ApiModelProperty(value = "亲属单位")
    private String memCompany;

    @ApiModelProperty(value = "亲属职位")
    private String memPosition;

    @ApiModelProperty(value = "亲属电话")
    private String memPhone;

    @ApiModelProperty(value = "创建时间，自动填充")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间，自动填充")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
